
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
 */
package supermarketgui;

//~--- JDK imports ------------------------------------------------------------

import java.util.logging.Level;
import java.util.logging.Logger;

import javax.swing.JFrame;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

/**
 *
 * @author JK
 */
public class SuperMarketGUI {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel("javax.swing.plaf.nimbus.NimbusLookAndFeel");
        } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException ex) {
            Logger.getLogger(SuperMarketGUI.class.getName()).log(Level.SEVERE, null, ex);
        }

//      try {
//          UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
//      } catch (Exception e) { }
        // TODO code application logic here
        SuperMarketMDI mdi = new SuperMarketMDI();

        mdi.setVisible(true);
        mdi.setLocationRelativeTo(null);
        mdi.setExtendedState(JFrame.MAXIMIZED_BOTH);
    }
}


//~ Formatted by Jindent --- http://www.jindent.com
